package com.shop2cn.iapi.sqsynctrade.paremeter.mongo;

import java.util.Date;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Field;

public class HunterIndex {
	
	/**
	 * 订单ID
	 */
	@Id
	private Long id;
	
	/**
	 * 订单状态
	 */
	@Field("st")
	private int tradingStatus;
	
	/**
	 * 推手id
	 */
	@Field("hunterId")
	private long hunterId;
	
	/**
	 * 推手订单类型（1：大礼包订单，2：普通订单）
	 */
	@Field("hOrdTp")
	private int hunterOrderType;
	
	/**
	 * 买手id
	 */
	@Field("seller")
	private long sellerId;
	
	/**
	 * 买手id
	 */
	@Field("main")
	private long mainOrderId;
	
	/**
	 * 支付时间
	 */
	@Field("paidTm")
	private Date paidTime;
	
	/**
	 * 支付时间
	 */
	@Field("addTm")
	private Date addTime;
	
	/**
	 * 发货时间
	 */
	@Field("dlvTm")
	private Date deliveryTime;
	
	/**
	 * 买手id
	 */
	@Field("user")
	private long userId;
	
	/**
	 * 买家名
	 */
	@Field("userLgi")
	private String userLoginId;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public int getTradingStatus() {
		return tradingStatus;
	}

	public void setTradingStatus(int tradingStatus) {
		this.tradingStatus = tradingStatus;
	}

	public long getHunterId() {
		return hunterId;
	}

	public void setHunterId(long hunterId) {
		this.hunterId = hunterId;
	}

	public int getHunterOrderType() {
		return hunterOrderType;
	}

	public void setHunterOrderType(int hunterOrderType) {
		this.hunterOrderType = hunterOrderType;
	}

	public long getSellerId() {
		return sellerId;
	}

	public void setSellerId(long sellerId) {
		this.sellerId = sellerId;
	}

	public long getMainOrderId() {
		return mainOrderId;
	}

	public void setMainOrderId(long mainOrderId) {
		this.mainOrderId = mainOrderId;
	}

	public Date getPaidTime() {
		return paidTime;
	}

	public void setPaidTime(Date paidTime) {
		this.paidTime = paidTime;
	}

	public Date getAddTime() {
		return addTime;
	}

	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}

	public Date getDeliveryTime() {
		return deliveryTime;
	}

	public void setDeliveryTime(Date deliveryTime) {
		this.deliveryTime = deliveryTime;
	}

	public long getUserId() {
		return userId;
	}

	public void setUserId(long userId) {
		this.userId = userId;
	}

	public String getUserLoginId() {
		return userLoginId;
	}

	public void setUserLoginId(String userLoginId) {
		this.userLoginId = userLoginId;
	}
}
